GetMovieTimeBase
TheGetMovieTimeBase
function returns a movie's time base.
pascal TimeBase GetMovieTimeBase (Movie theMovie);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).DESCRIPTION
You cannot use the returned time base value with the Movie Toolbox'sSetTimeBaseMasterTimeBase
andSetTimeBaseMasterClock
functions (described on page 2-301 and page 2-299, respectively). Use theSetMovieMasterTimeBase
andSetMovieMasterClock
functions (described on page 2-299 and page 2-298, respectively) instead.The Movie Toolbox disposes of a movie's time base when you dispose of the movie.
SPECIAL CONSIDERATIONS
Do not dispose of theTimeBase
result returned by theGetMovieTimeBase
function as it is owned by the movie.ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid